package com.study.dubbo.original.service.impl;

import com.study.dubbo.original.ILoginService;

public class LoginServiceImpl  implements ILoginService {

    @Override
    public String login(String userName, String password) {
        if("admin".equals(userName)&&"123456".equals(password)){
            return "success";
        }
        return "fail";
    }
}
